package edu.gyc.book.model;

import java.io.Serializable;
//String日期转化为java.util.Date异常
import java.sql.Date;


public class Book implements Serializable {
    private Category category;

    public Category getCategory() {
        return category;
    }

    public void setCategory(Category category) {
        this.category = category;
    }

    private Date publishDate;

    public Date getPublishDate() {
        return publishDate;
    }

    public void setPublishDate(Date publishDate) {
        this.publishDate = publishDate;
    }

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column book.b_id
     *
     * @mbg.generated Thu Apr 15 21:18:20 CST 2021
     */
    private Integer bId;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column book.title
     *
     * @mbg.generated Thu Apr 15 21:18:20 CST 2021
     */
    private String title;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column book.isbn
     *
     * @mbg.generated Thu Apr 15 21:18:20 CST 2021
     */
    private String isbn;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column book.author
     *
     * @mbg.generated Thu Apr 15 21:18:20 CST 2021
     */
    private String author;

    /**
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column book.c_id
     *
     * @mbg.generated Thu Apr 15 21:18:20 CST 2021
     */
    private Integer cId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table book
     *
     * @mbg.generated Thu Apr 15 21:18:20 CST 2021
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column book.b_id
     *
     * @return the value of book.b_id
     *
     * @mbg.generated Thu Apr 15 21:18:20 CST 2021
     */
    public Integer getbId() {
        return bId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column book.b_id
     *
     * @param bId the value for book.b_id
     *
     * @mbg.generated Thu Apr 15 21:18:20 CST 2021
     */
    public void setbId(Integer bId) {
        this.bId = bId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column book.title
     *
     * @return the value of book.title
     *
     * @mbg.generated Thu Apr 15 21:18:20 CST 2021
     */
    public String getTitle() {
        return title;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column book.title
     *
     * @param title the value for book.title
     *
     * @mbg.generated Thu Apr 15 21:18:20 CST 2021
     */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column book.isbn
     *
     * @return the value of book.isbn
     *
     * @mbg.generated Thu Apr 15 21:18:20 CST 2021
     */
    public String getIsbn() {
        return isbn;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column book.isbn
     *
     * @param isbn the value for book.isbn
     *
     * @mbg.generated Thu Apr 15 21:18:20 CST 2021
     */
    public void setIsbn(String isbn) {
        this.isbn = isbn;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column book.author
     *
     * @return the value of book.author
     *
     * @mbg.generated Thu Apr 15 21:18:20 CST 2021
     */
    public String getAuthor() {
        return author;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column book.author
     *
     * @param author the value for book.author
     *
     * @mbg.generated Thu Apr 15 21:18:20 CST 2021
     */
    public void setAuthor(String author) {
        this.author = author;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column book.c_id
     *
     * @return the value of book.c_id
     *
     * @mbg.generated Thu Apr 15 21:18:20 CST 2021
     */
    public Integer getcId() {
        return cId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column book.c_id
     *
     * @param cId the value for book.c_id
     *
     * @mbg.generated Thu Apr 15 21:18:20 CST 2021
     */
    public void setcId(Integer cId) {
        this.cId = cId;
    }
}